package cn.zebra.dev.member.module.member.vo;

import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.time.LocalDate;
import java.time.LocalDateTime;

/**
 * @author runnable@sina.cn
 */
@Getter
@Setter
@ToString
public class MemberUpdateMemberVO {

    @NotNull(message = "请选择您的生日!")
    @ApiModelProperty("生日")
    private LocalDate birthday;

    @NotBlank(message = "上传的头像不能为空!")
    @ApiModelProperty("头像上传地址")
    private String imageUrl;

    @NotBlank(message = "请输入您的昵称!")
    @ApiModelProperty("昵称")
    private String memberName;

    @NotNull(message = "请选择性别!")
    @ApiModelProperty("0->未知; 1->男; 2->女")
    private Integer sex;

}
